3.147 \(\int (a+b x)^m (A+B x) (c+d x)^n (e+f x)^{-4-m-n} \, dx\)

Optimal. Leaf size=558 \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^{-m-n-1} \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^{-n} ((m+n+2) (b d e ((m+n+3) (A (-a d f-b c f+b d e)+a B c f)-(B e-A f) (a d (n+1)+b c (m+1)))-f (a d+b c) ((m+n+3) (A (-a d f-b c f+b d e)+a B c f)-(B e-A f) (a d (n+1)+b c (m+1)))+a b c d f (B e-A f))-(a d (n+1)+b c (m+1)) (a f (A d f (m+2)+B (d e (n+1)-c f (m+n+3)))+b (A f (c f (n+2)-d e (m+n+4))+B e (c f (m+1)+d e)))) \, _2F_1\left (m+1,-n;m+2;-\frac{(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(m+1) (m+n+2) (m+n+3) (b e-a f)^3 (d e-c f)^2}+\frac{(a+b x)^{m+1} (B e-A f) (c+d x)^{n+1} (e+f x)^{-m-n-3}}{(m+n+3) (b e-a f) (d e-c f)}+\frac{(a+b x)^{m+1} (c+d x)^{n+1} (e+f x)^{-m-n-2} (a f (A d f (m+2)+B (d e (n+1)-c f (m+n+3)))+b (A f (c f (n+2)-d e (m+n+4))+B e (c f (m+1)+d e)))}{(m+n+2) (m+n+3) (b e-a f)^2 (d e-c f)^2} \]

[Out]

((B*e - A*f)*(a + b*x)^(1 + m)*(c + d*x)^(1 + n)*(e + f*x)^(-3 - m - n))/((b*e -
 a*f)*(d*e - c*f)*(3 + m + n)) + ((a*f*(A*d*f*(2 + m) + B*(d*e*(1 + n) - c*f*(3
+ m + n))) + b*(B*e*(d*e + c*f*(1 + m)) + A*f*(c*f*(2 + n) - d*e*(4 + m + n))))*
(a + b*x)^(1 + m)*(c + d*x)^(1 + n)*(e + f*x)^(-2 - m - n))/((b*e - a*f)^2*(d*e
- c*f)^2*(2 + m + n)*(3 + m + n)) + (((2 + m + n)*(a*b*c*d*f*(B*e - A*f) + b*d*e
*((a*B*c*f + A*(b*d*e - b*c*f - a*d*f))*(3 + m + n) - (B*e - A*f)*(b*c*(1 + m) +
 a*d*(1 + n))) - (b*c + a*d)*f*((a*B*c*f + A*(b*d*e - b*c*f - a*d*f))*(3 + m + n
) - (B*e - A*f)*(b*c*(1 + m) + a*d*(1 + n)))) - (b*c*(1 + m) + a*d*(1 + n))*(a*f
*(A*d*f*(2 + m) + B*(d*e*(1 + n) - c*f*(3 + m + n))) + b*(B*e*(d*e + c*f*(1 + m)
) + A*f*(c*f*(2 + n) - d*e*(4 + m + n)))))*(a + b*x)^(1 + m)*(c + d*x)^n*(e + f*
x)^(-1 - m - n)*Hypergeometric2F1[1 + m, -n, 2 + m, -(((d*e - c*f)*(a + b*x))/((
b*c - a*d)*(e + f*x)))])/((b*e - a*f)^3*(d*e - c*f)^2*(1 + m)*(2 + m + n)*(3 + m
 + n)*(((b*e - a*f)*(c + d*x))/((b*c - a*d)*(e + f*x)))^n)

_______________________________________________________________________________________

Rubi [A]  time = 3.13745, antiderivative size = 558, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 34, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.088 \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^{-m-n-1} \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^{-n} ((m+n+2) (-b d e (a (A d f (m+2)-B c f (m+n+3)+B d e (n+1))+b (A c f (n+2)-A d e (m+n+3)+B c e (m+1)))+f (a d+b c) (a (A d f (m+2)-B c f (m+n+3)+B d e (n+1))+b (A c f (n+2)-A d e (m+n+3)+B c e (m+1)))+a b c d f (B e-A f))-(a d (n+1)+b c (m+1)) (a f (A d f (m+2)-B c f (m+n+3)+B d e (n+1))+b (A f (c f (n+2)-d e (m+n+4))+B e (c f (m+1)+d e)))) \, _2F_1\left (m+1,-n;m+2;-\frac{(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(m+1) (m+n+2) (m+n+3) (b e-a f)^3 (d e-c f)^2}+\frac{(a+b x)^{m+1} (B e-A f) (c+d x)^{n+1} (e+f x)^{-m-n-3}}{(m+n+3) (b e-a f) (d e-c f)}+\frac{(a+b x)^{m+1} (c+d x)^{n+1} (e+f x)^{-m-n-2} (a f (A d f (m+2)-B c f (m+n+3)+B d e (n+1))+b (A f (c f (n+2)-d e (m+n+4))+B e (c f (m+1)+d e)))}{(m+n+2) (m+n+3) (b e-a f)^2 (d e-c f)^2} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x)^m*(A + B*x)*(c + d*x)^n*(e + f*x)^(-4 - m - n),x]

[Out]

((B*e - A*f)*(a + b*x)^(1 + m)*(c + d*x)^(1 + n)*(e + f*x)^(-3 - m - n))/((b*e -
 a*f)*(d*e - c*f)*(3 + m + n)) + ((a*f*(A*d*f*(2 + m) + B*d*e*(1 + n) - B*c*f*(3
 + m + n)) + b*(B*e*(d*e + c*f*(1 + m)) + A*f*(c*f*(2 + n) - d*e*(4 + m + n))))*
(a + b*x)^(1 + m)*(c + d*x)^(1 + n)*(e + f*x)^(-2 - m - n))/((b*e - a*f)^2*(d*e
- c*f)^2*(2 + m + n)*(3 + m + n)) + (((2 + m + n)*(a*b*c*d*f*(B*e - A*f) - b*d*e
*(b*(B*c*e*(1 + m) + A*c*f*(2 + n) - A*d*e*(3 + m + n)) + a*(A*d*f*(2 + m) + B*d
*e*(1 + n) - B*c*f*(3 + m + n))) + (b*c + a*d)*f*(b*(B*c*e*(1 + m) + A*c*f*(2 +
n) - A*d*e*(3 + m + n)) + a*(A*d*f*(2 + m) + B*d*e*(1 + n) - B*c*f*(3 + m + n)))
) - (b*c*(1 + m) + a*d*(1 + n))*(a*f*(A*d*f*(2 + m) + B*d*e*(1 + n) - B*c*f*(3 +
 m + n)) + b*(B*e*(d*e + c*f*(1 + m)) + A*f*(c*f*(2 + n) - d*e*(4 + m + n)))))*(
a + b*x)^(1 + m)*(c + d*x)^n*(e + f*x)^(-1 - m - n)*Hypergeometric2F1[1 + m, -n,
 2 + m, -(((d*e - c*f)*(a + b*x))/((b*c - a*d)*(e + f*x)))])/((b*e - a*f)^3*(d*e
 - c*f)^2*(1 + m)*(2 + m + n)*(3 + m + n)*(((b*e - a*f)*(c + d*x))/((b*c - a*d)*
(e + f*x)))^n)

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)**m*(B*x+A)*(d*x+c)**n*(f*x+e)**(-4-m-n),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [B]  time = 12.6203, size = 31260, normalized size = 56.02 \[ \text{Result too large to show} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[(a + b*x)^m*(A + B*x)*(c + d*x)^n*(e + f*x)^(-4 - m - n),x]

[Out]

Result too large to show

_______________________________________________________________________________________

Maple [F]  time = 0.222, size = 0, normalized size = 0. \[ \int \left ( bx+a \right ) ^{m} \left ( Bx+A \right ) \left ( dx+c \right ) ^{n} \left ( fx+e \right ) ^{-4-m-n}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)^m*(B*x+A)*(d*x+c)^n*(f*x+e)^(-4-m-n),x)

[Out]

int((b*x+a)^m*(B*x+A)*(d*x+c)^n*(f*x+e)^(-4-m-n),x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (B x + A\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 4}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4),x, algorithm="maxima")

[Out]

integrate((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (B x + A\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 4}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4),x, algorithm="fricas")

[Out]

integral((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4), x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)**m*(B*x+A)*(d*x+c)**n*(f*x+e)**(-4-m-n),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (B x + A\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 4}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4),x, algorithm="giac")

[Out]

integrate((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4), x)